home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Development Kits / MPW etc / MPW-GM / MPW / Scripts / UnaliasSourceServer < prev    next >
Encoding:
Text File  |  1993-05-07  |  1.9 KB  |  49 lines  |  [TEXT/MPS ]

  1. #    File:    UnaliasSourceServer
  2. #
  3. #    Copyright Apple Computer, Inc. 1991
  4. #    All rights reserved.
  5. #
  6. #
  7. #        Scripts that have Projector commands within them can normally not be 
  8. #    executed by ToolServer. Using SourceServer, the RProj tool, and three support
  9. #    scripts (AliasSourceServer, UnaliasSourceServer, and Directory2), ToolServer
  10. #    can perform Projector functions. SourceServer must be running on the same
  11. #    computer as ToolServer before the Projector scripts can be executed.
  12. #    Individual Projector command lines are sent from ToolServer to SourceServer
  13. #    via AppleEvents by the RProj tool. To allow RProj to automatically be invoked
  14. #    any time a Projector command is encountered, we use the AliasSourceServer
  15. #    script to alias each ProjectorCommand to "RProj ProjectorCommand". To make
  16. #    sure that the aliases remain in effect even after the AliasSourceServer script
  17. #    has finished running, we must use the command line, "Execute AliasSourceServer".
  18. #    Directory commands also need to be aliased to Directory2, which will keep the
  19. #    current directory of both ToolServer and SourceServer set to the same location
  20. #    so both Projector and non-Projector commands operate on the same set of files.
  21. #    This alias is also established by the AliasSourceServer script. Finally, after
  22. #    completion of the Projector commands, "Execute UnaliasSourceServer" restores
  23. #    ToolServer to it's normal operation.
  24. #
  25. #        This file, UnaliasSourceServer, removes the aliases for ToolServer that
  26. #    were established by AliasSourceServer, thus retuning ToolServer to normal
  27. #    operation.
  28.  
  29. Unalias CheckIn
  30. Unalias CheckOut
  31. Unalias CheckOutDir
  32. Unalias CompareRevisions
  33. Unalias DeleteNames
  34. Unalias DeleteRevisions
  35. Unalias MergeBranch
  36. Unalias ModifyReadOnly
  37. Unalias MountProject
  38. Unalias NameRevisions
  39. Unalias NewProject
  40. Unalias ObsoleteProjectorFile
  41. Unalias OrphanFiles
  42. Unalias Project
  43. Unalias ProjectInfo
  44. Unalias RenameProjectorFile
  45. Unalias TransferCkid
  46. Unalias UnmountProject
  47. Unalias UnObsoleteProjectorFile
  48. UnAlias Directory
  49.